@@ -1004,7 +997,7 @@
@@ -1225,6 +1218,7 @@ export default {
};
return {
+ isShowIsFramework: true,
userList: ["ma_sm", "admin", "yu_l","wang_yx","li_f","chen_y"],
nowContract: {},
window: {
@@ -1591,7 +1585,7 @@ export default {
width: 158,
prop: "purchase_status",
customFn:row => {
- if (row.is_substitute || row.is_simple || !row.is_contract) {
+ if (row.is_substitute || row.is_simple || (!row.is_contract && row.purchase_way?.value !== '网上商城')) {
return (无);
}
const getDate = (value) => {
@@ -2127,6 +2121,16 @@ export default {
};
},
methods: {
+ showIsFramework () {
+ this.$nextTick(() => {
+ if (this.$refs['methodInput'].selected.label === '直接发包' && this.form.use_framework_buy) {
+ this.isShowIsFramework = false;
+ this.form.is_framework = true
+ } else {
+ this.isShowIsFramework = true;
+ }
+ })
+ },
async toOaDetail (tbname,row) {
let res;
switch (tbname) {
@@ -2460,6 +2464,7 @@ export default {
total: row?.money || row?.plan_price,
out_contract_id: row.id,
contract_content: row.content,
+ yifang: row.supply
//"承包商\\供应商":row.supply
};
// let res = await getOatoken()
@@ -2771,6 +2776,7 @@ export default {
type: this.form.type,
is_plan: this.form.isBudget ? 1 : 0,
purchase_type_id: this.form.methods,
+ is_contract: this.form.is_contract,
purchase_way_id: this.form.modality,
money_way_id: `${this.form.fundingChannels.toString()}`,
plan_price: this.form.price,
diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue
index 7b71c6b..9a0772b 100644
--- a/src/views/contract/seeContract.vue
+++ b/src/views/contract/seeContract.vue
@@ -352,7 +352,7 @@
-
+
diff --git a/src/views/finance/components/examineRegistration.vue b/src/views/finance/components/examineRegistration.vue
index 1561081..74f21bc 100644
--- a/src/views/finance/components/examineRegistration.vue
+++ b/src/views/finance/components/examineRegistration.vue
@@ -185,7 +185,7 @@
-
+
diff --git a/src/views/inOut/component/addExpenseAccount.vue b/src/views/inOut/component/addExpenseAccount.vue
index f8697aa..6dd2340 100644
--- a/src/views/inOut/component/addExpenseAccount.vue
+++ b/src/views/inOut/component/addExpenseAccount.vue
@@ -171,7 +171,7 @@
-
+